package cn.tedu._05weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class CommentVO {
    @ApiModelProperty(value = "评论id")
    private Long id;
    @ApiModelProperty(value = "评论内容")
    private String content;
    @ApiModelProperty(value = "评论用户昵称")
    private String nickname;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "评论时间")
    private Date created;
}
